package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/6/20.
 */
public class SelectBean extends BaseBean {

    /**
     * result : 1
     * info : {"price":"1000.00","unit":"㎡","fid":"2","detail":"这是套餐的一些简单说明2","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c00102ec8.png","classname":"A套餐","label":"独立一室","list":[{"classname":"吊顶工程","cate":[{"nums":"1","pid":"17","name":"现代冠军火树银花吊顶","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170620/5948c6539ef02.jpg","price":"300.00","unit":"片"}]},{"classname":"墙板工程","cate":[{"nums":"1","pid":"4","name":"绿色乳胶漆","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170614/594106446009f.png","price":"58.00","unit":"㎡"}]},{"classname":"地板工程","cate":[{"nums":"1","pid":"18","name":"圣象三层实木复合地板--KS8371剑桥橡木 地暖适用","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170620/5948c70ed1733.jpg","price":"450.00","unit":"平方米"}]},{"classname":"配件工程","cate":[{"nums":"1","pid":"1","name":"马桶","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c4aaad508.png","price":"20.00","unit":"个"},{"nums":"1","pid":"11","name":"下水道管安装","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170603/593294af28ca8.png","price":"300.00","unit":"个"},{"nums":"1","pid":"12","name":"浴室镜子","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170603/5932952bb4aa1.png","price":"160.00","unit":"个"}]}]}
     */

    private String result;
    /**
     * price : 1000.00
     * unit : ㎡
     * fid : 2
     * detail : 这是套餐的一些简单说明2
     * img : http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c00102ec8.png
     * classname : A套餐
     * label : 独立一室
     * list : [{"classname":"吊顶工程","cate":[{"nums":"1","pid":"17","name":"现代冠军火树银花吊顶","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170620/5948c6539ef02.jpg","price":"300.00","unit":"片"}]},{"classname":"墙板工程","cate":[{"nums":"1","pid":"4","name":"绿色乳胶漆","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170614/594106446009f.png","price":"58.00","unit":"㎡"}]},{"classname":"地板工程","cate":[{"nums":"1","pid":"18","name":"圣象三层实木复合地板--KS8371剑桥橡木 地暖适用","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170620/5948c70ed1733.jpg","price":"450.00","unit":"平方米"}]},{"classname":"配件工程","cate":[{"nums":"1","pid":"1","name":"马桶","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c4aaad508.png","price":"20.00","unit":"个"},{"nums":"1","pid":"11","name":"下水道管安装","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170603/593294af28ca8.png","price":"300.00","unit":"个"},{"nums":"1","pid":"12","name":"浴室镜子","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170603/5932952bb4aa1.png","price":"160.00","unit":"个"}]}]
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean{
        private String price;
        private String unit;
        private String fid;
        private String detail;
        private String img;
        private String classname;
        private String label;
        /**
         * classname : 吊顶工程
         * cate : [{"nums":"1","pid":"17","name":"现代冠军火树银花吊顶","img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170620/5948c6539ef02.jpg","price":"300.00","unit":"片"}]
         */

        private List<ListEntity> list;

        public void setPrice(String price) {
            this.price = price;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public void setFid(String fid) {
            this.fid = fid;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public void setClassname(String classname) {
            this.classname = classname;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public String getPrice() {
            return price;
        }

        public String getUnit() {
            return unit;
        }

        public String getFid() {
            return fid;
        }

        public String getDetail() {
            return detail;
        }

        public String getImg() {
            return img;
        }

        public String getClassname() {
            return classname;
        }

        public String getLabel() {
            return label;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity extends BaseBean{
            private String classname;
            /**
             * nums : 1
             * pid : 17
             * name : 现代冠军火树银花吊顶
             * img : http://youzhu.unohacha.com/Uploads/Picture/uploads/20170620/5948c6539ef02.jpg
             * price : 300.00
             * unit : 片
             */

            private List<CateEntity> cate;

            public void setClassname(String classname) {
                this.classname = classname;
            }

            public void setCate(List<CateEntity> cate) {
                this.cate = cate;
            }

            public String getClassname() {
                return classname;
            }

            public List<CateEntity> getCate() {
                return cate;
            }

            public static class CateEntity extends BaseBean{
                private String nums;
                private String pid;
                private String name;
                private String img;
                private String price;
                private String unit;

                public void setNums(String nums) {
                    this.nums = nums;
                }

                public void setPid(String pid) {
                    this.pid = pid;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                public String getNums() {
                    return nums;
                }

                public String getPid() {
                    return pid;
                }

                public String getName() {
                    return name;
                }

                public String getImg() {
                    return img;
                }

                public String getPrice() {
                    return price;
                }

                public String getUnit() {
                    return unit;
                }
            }
        }
    }
}